<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<title>个人使用系统</title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/index.css" />
</head>
<body>
	<div id="wrapper">
		<div id="header">
			<div id="logo">LOGO</div>
			<div id="title">个人使用系统</div>
			<%--<div id="menu">
				<div id="menu_container">
					<ul id="menu_items">
						<li class="menu_item on" style="border-radius:8px 0 0 8px"
							onmouseout="this.style.backgroundColor=''"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.borderRadius='8px 0 0 8px'"><a>查询天气</a>
						</li>
						<li class="menu_item"
							onmouseout="this.style.backgroundColor='';this.style.fontWeight='normal'"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.fontWeight='bold'"><a>学生管理</a>
						</li>
						<li class="menu_item"
							onmouseout="this.style.backgroundColor='';this.style.fontWeight='normal'"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.fontWeight='bold'"><a>新闻管理</a>
						</li>
						<li class="menu_item"
							onmouseout="this.style.backgroundColor='';this.style.fontWeight='normal'"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.fontWeight='bold'"><a>网盘管理</a>
						</li>
						<li class="menu_item"
							onmouseout="this.style.backgroundColor='';this.style.fontWeight='normal'"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.fontWeight='bold'"><a>相册管理</a>
						</li>
						<li class="menu_item"
							style="border-radius:8px 0 0 8px;border:0px;"
							onmouseout="this.style.backgroundColor='';this.style.fontWeight='normal'"
							onmouseover="this.style.backgroundColor='#77D1F6';this.style.borderRadius='0 8px 8px 0';this.style.fontWeight='bold'"><a>邮件管理</a>
						</li>
					</ul>
				</div>
			</div>
			--%><div id="user_info">
				<div id="welcome">欢迎${sessionScope.loginUserName}使用本系统</div>
				<div id="logout">
					<a href="UserAction_logout.action">安全退出</a>
				</div>
			</div>
		</div>
		<div id="navigator">
			<iframe src="../tree.jsp"></iframe>
		</div>
		<div id="main">
			<iframe  name="MainFrame" src="../weather/weather_show.jsp" ></iframe>
		</div>
		<div id="footer">Copyright © 2009-2015 All Rights Reserved
			Powered By Somoniu</div>
	</div>
</body>
<script type="text/javascript">
	function screenAdapter() {
		document.getElementById('footer').style.top = document.documentElement.scrollTop
				+ document.documentElement.clientHeight
				- document.getElementById('footer').offsetHeight + "px";
		document.getElementById('navigator').style.height = document.documentElement.clientHeight
				- 100 + "px";
		document.getElementById('main').style.height = document.documentElement.clientHeight
				- 100 + "px";
		document.getElementByTagName('iframe').style.height = document.documentElement.clientHeight
		- 100 + "px";

		document.getElementById('main').style.width = window.screen.width - 230
				+ "px";
	}

	window.onscroll = function() {
		screenAdapter();
	};
	window.onresize = function() {
		screenAdapter();
	};
	window.onload = function() {
		screenAdapter();
	};
</script>
</html>